package edu.fib.upc.erdapfel.filefilter;

import java.io.File;

import org.mapsforge.map.reader.header.FileOpenResult;

public class ValidKmlFile implements ValidFileFilter {	
	
	@Override
	public boolean accept(File pathname) {		
		// TODO: better kml validation, please.
		return pathname.getName().endsWith(".kml");
	}


	@Override
	public FileOpenResult getFileOpenResult() {
		return null;
	}

}
